#ifndef JOINT_SCENE_H
#define JOINT_SCENE_H

#include <NxScene.h>

#include "..\_Utils\src\Scene.h"

#include "PhysxLogic.h"
#include "Renderer.h"
#include "NewtonsCradle.h"

class JointScene : Scene
{
private:
    NewtonsCradle *newtonsCradle;
    NxActor *groundActor;
public:
    JointScene();
    ~JointScene();

    void PrepareScene(NxScene *scene);
    void CleanScene();

    void Update();
    void Draw();

    void HandleKeyboardEvent(unsigned char key, int x, int y);
    void HandleKeyboardSpecialEvent(int key, int x, int y);
    void HandleMouseClickEvent(int button, int state, int x, int y);
    void HandleMousePressedMovementEvent(int x, int y, int dx, int dy);
};

#endif //JOINT_SCENE_H
